The Long Rectangle Structure
ThegxLongRectangle
structure allows you to specify a rectangular subsection of the pixel image of a bitmap shape. It differs from thegxRectangle
structure, described in the chapter "Geometric Shapes" in this book, in that the coordinates of agxLongRectangle
structure have no fractional part.
struct gxLongRectangle { long left; long top; long right; long bottom; };You use the
Field Description
left
- The left side of the rectangle in number of pixels.
top
- The top of the rectangle in number of pixels.
right
- The right side of the rectangle in number of pixels.
bottom
- The bottom of the rectangle in number of pixels.
gxLongRectangle
structure when editing parts of a bitmap, as discussed in "Editing Part of a Bitmap" beginning on page 5-53.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help